gtkwindow: fix regression with firefox dropdown menu
authorBenjamin Otte <otte@redhat.com>
Thu, 26 Nov 2015 10:00:17 +0000 (11:00 +0100)
committerOlivier Fourdan <ofourdan@redhat.com>
Mon, 30 Nov 2015 13:32:39 +0000 (14:32 +0100)
Fix a regression introduced by:

commit 6866d1c widget: Make gtk_widget_queue_allocate() not resize

Where the dropdown menu in Firefox would not be relocated after the
toplevel window is moved.

bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=758609

gtk/gtkwindow.c

index d2043cb7f79b6c48b7dd765c51075d9284915bbd..049e05f3f2a6feafce215184fe8ff96fb3780018 100644 (file)
@@ -5645,6 +5645,7 @@ gtk_window_move (GtkWindow *window,
   else
     {
       /* Save this position to apply on mapping */
+      gtk_widget_queue_resize (widget);
       info->initial_x = x;
       info->initial_y = y;
       info->initial_pos_set = TRUE;